package com.gao.pubsub.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class ReceiverMessageService {

    Logger logger = LoggerFactory.getLogger(ReceiverMessageService.class);

    /**
     * 接收 redis 频道消息
     * @param message
     */
    public void receiveMessage(String message) {
        logger.info("接收消息：" + message);
    }

}
